package com.dhcc.core.modules.system.dao;

import java.util.List;
import java.util.Map;

import com.dhcc.core.modules.system.entity.Position;
import org.apache.ibatis.annotations.Param;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import com.dhcc.core.framework.result.node.ZTreeNode;
import com.baomidou.mybatisplus.plugins.Page;

/**
 * 职务
 * 
 * @ClassName: PositionMapper
 * @Description: TODO
 * @author mk
 * @date 2018-08-28 08:52:01
 */
public interface PositionMapper  extends BaseMapper<Position> {
    
    List<Position> page(@Param("page") Page<Position> page, @Param("map") Map<String, Object> map);
    
    List<Position> list(@Param("map") Map<String, Object> map);

    Position codevalidate(String code);
    
    List<ZTreeNode> tree();
}
